﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace project_phoenix.source
{
    public class Obtainable
    {
        public enum ObtainableType { MONEY, FOOD, SOUL, POTION, OTHER };

        // Members
        protected IObtainableBehavior mBehavior;
        protected string mName;
        protected ObtainableType mType;

        // Functions
        public Obtainable(string name, IObtainableBehavior behavior)
        {
            mName = name;
            mBehavior = behavior;
        }

        public void Use(Entity user)
        {
            mBehavior.Use(user);
        }

        public void PickUp(Entity pickerupper)
        {
            mBehavior.PickUp(pickerupper);
        }
    }
}
